export default [
  {
    path: '/app',
    name: 'home',
    component: () => import('@/layout/home/index'),
    children: [
      // 首页
      {
        path: 'home',
        name: '首页',
        component: () => import('@/views/homeViews/myActivity/create'),
        meta: {
          index: '1',
          title: ['首页'],
        },
      },
      // 我的活动
      {
        path: 'myActivity',
        name: '我的活动',
        component: () => import('@/views/homeViews/myActivity/currentActivity'),
        meta: {
          index: '2',
          title: ['我的活动'],
        },
      },
      // 个人中心
      {
        path: 'userCenter/myInfo',
        name: '个人资料',
        component: () => import('@/views/homeViews/userCenter/myInfo_unsaved'),
        meta: {
          index: '3-1',
          title: ['个人中心', '个人资料'],
        },
      },
      {
        path: 'userCenter/bindWechat',
        name: '绑定微信',
        component: () => import('@/views/homeViews/userCenter/bindWeChatBranch'),
        meta: {
          index: '3-2',
          title: ['个人中心', '绑定微信'],
        },
      },
      {
        path: 'userCenter/changingPasswords',
        name: '修改密码',
        component: () => import('@/views/homeViews/userCenter/changingPasswords'),
        meta: {
          index: '3-3',
          title: ['个人中心', '修改密码'],
        },
      },
      {
        path: 'userCenter/lowerLevelList',
        name: '下级列表',
        component: () => import('@/views/homeViews/userCenter/lowerLevelList'),
        meta: {
          index: '3-4',
          title: ['个人中心', '下级列表'],
        },
      },
      // 我的账户
      // {
      //   path: 'myAccount/activityProfit',
      //   name: '活动收益',
      //   component: () => import('@/views/homeViews/myAccount/activityProfit.vue'),
      //   meta: {
      //     index: '4-1',
      //     title: ['我的账户', '活动收益'],
      //   },
      // },
      {
        path: 'myAccount/profitDetail',
        name: '收益明细',
        component: () => import('@/views/homeViews/myAccount/profitDetail'),
        meta: {
          index: '4-2',
          title: ['我的账户', '收益明细'],
        },
      },
      {
        path: 'myAccount/profitWithdraw-alipay',
        name: 'profitWithdraw_alipay',
        component: () => import('@/views/homeViews/myAccount/profitWithdraw_alipay/profitWithdraw_alipay'),
        meta: {
          index: '4-3',
          title: ['我的账户', '支付宝提现'],
        },
      },
      {
        path: 'myAccount/profitWithdraw-weChat',
        name: 'profitWithdraw_weChat',
        component: () => import('@/views/homeViews/myAccount/profitWithdraw_weChat'),
        meta: {
          index: '4-4',
          title: ['我的账户', '微信提现'],
        },
      },
      // 吸粉
      {
        path: 'xifen/index',
        name: '免费吸粉',
        component: () => import('@/views/homeViews/xifen/index'),
        meta: {
          index: '5',
          title: ['免费吸粉'],
        },
      },
    ],
  },
];
